package com.itheima.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class OrderVO {
    private Integer id;
    private String member;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date orderDate;//预约日期
    private String orderType;//预约类型 电话预约/微信预约
    private String setmeal;//体检套餐id

    public OrderVO() {
    }

    public OrderVO(Integer id, String member, Date orderDate, String orderType, String setmeal) {
        this.id = id;
        this.member = member;
        this.orderDate = orderDate;
        this.orderType = orderType;
        this.setmeal = setmeal;
    }

    /**
     * 获取
     *
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     *
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     *
     * @return member
     */
    public String getMember() {
        return member;
    }

    /**
     * 设置
     *
     * @param member
     */
    public void setMember(String member) {
        this.member = member;
    }

    /**
     * 获取
     *
     * @return orderDate
     */
    public Date getOrderDate() {
        return orderDate;
    }

    /**
     * 设置
     *
     * @param orderDate
     */
    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    /**
     * 获取
     *
     * @return orderType
     */
    public String getOrderType() {
        return orderType;
    }

    /**
     * 设置
     *
     * @param orderType
     */
    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    /**
     * 获取
     *
     * @return setmeal
     */
    public String getSetmeal() {
        return setmeal;
    }

    /**
     * 设置
     *
     * @param setmeal
     */
    public void setSetmeal(String setmeal) {
        this.setmeal = setmeal;
    }

    public String toString() {
        return "OrderVO{id = " + id + ", member = " + member + ", orderDate = " + orderDate + ", orderType = " + orderType + ", setmeal = " + setmeal + "}";
    }
}
